package com.sds.image;

import java.util.ArrayList;

public class ImageService {
	
	public String getNextSequence(){
		return new ImageDAO().getNextSequence();
	}
	public int insertImage(ImageVO image) {
		return new ImageDAO().insertImage(image);
	}

	public int deleteImage(int ID) {
		return new ImageDAO().deleteImage(ID);
	}
	
	public ArrayList<ImageVO> selectImageList(int res_ID) {
		return new ImageDAO().selectImageList(res_ID);
	}
	
	public ArrayList<String> selectImageList(int[] res_ID) {
		return new ImageDAO().selectImageList(res_ID);		
	}
}